<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<!-- <body>
    <div class="count center">
        <div class="center">one</div>
        <div class="center">two</div>
        <div class="center">three</div>
        <div class="center">three</div>
        <div class="center">three</div>
        <div class="center">three</div>
        <div class="center">three</div>
    </div>
</body>
<style>
    .center {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .count {
        height: 300px;
        background-color:teal;
    }

    .count>div {
        margin-left: 10px;
        width: 150px;
        height: 150px;
        background-color: tomato;
    }
</style> -->

<body>
    <!-- 计算器 -->
    <div class="big-box">
        <!-- 机身 -->
        <div class="allbody">
            <!-- 显示器 -->
            <div class="see">
                <!-- 黑框 -->
                <div class="blacksee">

                </div>
            </div>
            <!-- 键盘 -->
            <div class="jian">
                <div class="onjian">
                    <div class="hang1 jtop">
                        <!-- 清除键 -->
                        <span class="c z k ">C</span>
                        <span class="chu z k ">/</span>
                        <span class="cheng z">*</span>
                    </div>
                    <div class="hang jtop">
                        <span class="one z k">1</span>
                        <span class="two z k">2</span>
                        <span class="three z k">3</span>
                        <span class="jianhao z">—</span>
                    </div>
                    <div class="hang jtop">
                        <span class="four z k">4</span>
                        <span class="five z k">5</span>
                        <span class="six z k">6</span>
                        <span class="jiahao z">+</span>
                    </div>
                    <div class="hang jtop">
                        <span class="seven z k">7</span>
                        <span class="eight z k">8</span>
                        <span class="nine z k">9</span>
                        <span class="dengyu z ">
                            <span id="bug">=</span>
                        </span>
                    </div>
                    <div class="hang  last jtop">
                        <span class="c z k ">0</span>
                        <span class="chu z k ">.</span>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
<style>
    * {
        padding: 0px;
        margin: 0px;
    }

    .big-box {
        width: 100%;
        height: 100%;
    }

    .allbody {
        width: 500px;
        height: 650px;
        background-color: plum;
        /* border: 2px solid darkcyan; */
        position: absolute;
        top: 50%;
        left: 50%;
        margin: -330px 0px 0px -250px;

    }

    .see {
        width: 100%;
        height: 170px;
        /* border: 2px solid hotpink; */
        background-color: mediumslateblue;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .blacksee {
        width: 450px;
        height: 120px;
        background-color: lightsalmon;
    }

    .jian {
        margin-top: 35px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .onjian {
        width: 450px;
        height: 400px;
        background-color: royalblue;
    }

    .jtop {
        font-size: 0;
    }

    .z {
        display: inline-block;
        background-color: tomato;
        /* border: 1px sold springgreen; */
        text-align: center;
        line-height: 72px;
        font-size: 25px;
        width: 105px;
        height: 72px;
    }

    .c {
        width: 220px;
    }

    .dengyu {
        height: 154px;
        /* display: table-cell; */
        /* vertical-align: middle; */
        /* position: relative; */
    }

    /* #bug {
        position: absolute;
        display: inline-block;
        top: 25%;
        left: 41%;
    } */

    .k {
        margin-right: 10px;
    }

    .hang {
        margin-top: 10px;

    }

    .last {
        position: absolute;
        bottom: 45px;
        left: 25px;
    }
</style>
<script>

</script>

</html>